projects
/
project
/
odhcp6c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dabd4b
)
Fix fallout
author
Steven Barth
<
[email protected]
>
Wed, 9 Apr 2014 06:56:01 +0000
(08:56 +0200)
committer
Steven Barth
<
[email protected]
>
Wed, 9 Apr 2014 06:56:01 +0000
(08:56 +0200)
src/dhcpv6.c
patch
|
blob
|
history
src/odhcp6c.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6.c
b/src/dhcpv6.c
index 0d206f352d8d1d1ad04fb8066cd289bfb5603525..10f98c5aa8679cd123310ee7ae64bdc5041bf99a 100644
(file)
--- a/
src/dhcpv6.c
+++ b/
src/dhcpv6.c
@@
-1231,6
+1231,8
@@
static int dhcpv6_calc_refresh_timers(void)
t1 = l_t1;
t2 = l_t2;
t3 = l_t3;
+ } else {
+ t1 = 600;
}
return (int)(ia_pd_entries + ia_na_entries);
diff --git
a/src/odhcp6c.c
b/src/odhcp6c.c
index 36e9949f3a5c644ddd0a488e9e36f69f929aa734..f1286e5e93b70f2c2f7a56471e898abe70480267 100644
(file)
--- a/
src/odhcp6c.c
+++ b/
src/odhcp6c.c
@@
-382,6
+382,7
@@
int main(_unused int argc, char* const argv[])
odhcp6c_clear_state(STATE_SERVER_ID); // Remove binding
+ size_t ia_pd_len, ia_na_len;
odhcp6c_get_state(STATE_IA_PD, &ia_pd_len);
odhcp6c_get_state(STATE_IA_NA, &ia_na_len);